package com.youi.shop.pojo.vo.cart;

import com.youi.shop.pojo.vo.product.ProductVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @version 1.0
 * @Author: xxf
 * @CreateDate: 2020/11/10 17:36
 */
@Data
@ApiModel("购物车展示对象")
public class CartVO {

    @ApiModelProperty(value = "购物车主键")
    private Long cartId;

    @ApiModelProperty(value = "会员表主键")
    private Long memberId;

    @ApiModelProperty(value = "商品表主键")
    private Long productId;

    @ApiModelProperty(value = "购买数量")
    private Integer quantity;

    @ApiModelProperty(value = "购物车总金额")
    private BigDecimal totalAmount;

    private ProductVO productVO;





}
